home *** CD-ROM | disk | FTP | other *** search
- Declan_Gorman@modusmedia.com wrote:
-
- > A couple of questions....
- > i) Is there an Amos extension that supports Midi?
- > ii) Has anyone on the list written any Midi routines using Amos?
- > iii) Where can I get some technical documentation on how to address
- > Midi hardware?
-
- i)
- Nah, but you can put MIDI in OctaMed & use Med Midi On
-
- ii)
- Rem Exec 'run "mydrive:tripleplayplus/other sequencers/triple play
- plus"'
- 'only if you've got B&P Triple Play - run once, then re-Rem
-
- Serial Open 0,0 : Serial Speed 0,31250
- Serial Bits 0,8,1 : Serial Parity 0,-1 : Serial X 0,-1
- Wait Vbl
- For N=0 To 12
- Serial Send 0,Chr$($90)+Chr$(N+60)+Chr$(127)
- wait 5
- Serial Send 0,Chr$($80)+Chr$(N+60)+Chr$(0)
- Next
- 'Play a chromatic scale from C5 to C6
- Serial Send 0,Chr$($B0)+Chr$(123)+Chr$(0) : Wait Vbl
- 'Send all notes off to be safe
- Repeat : Until Serial Check(0)
- Serial Close 0
-
- iii)
- All you need are the MIDI codes (all 8 bit)
-
- email me privately if you have probs
-
-